FROM anapsix/alpine-java:8_server-jre_unlimited

MAINTAINER detech

RUN mkdir -p /sboh
RUN mkdir -p /sboh/logs
RUN mkdir -p /sboh/temp

WORKDIR /sboh

EXPOSE 8080

ADD ./target/sboh.jar ./app.jar

ENTRYPOINT ["java", "-Djava.security.egd=file:/dev/./urandom", "-jar", "app.jar"]
